/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.core;

import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;

/** Wrapper for Office.SignatureProvider*/
public class SignatureProvider extends JavaScriptObject {

	protected SignatureProvider() { }
	public native final IPictureDisp generateSignatureLineImage(int siglnimg, SignatureSetup psigsetup, SignatureInfo psiginfo,  Object xmlDsigStream)/*-{
		return this.GenerateSignatureLineImage( siglnimg, psigsetup, psiginfo, xmlDsigStream);
	}-*/;

	public native final void showSignatureSetup( Object parentWindow, SignatureSetup psigsetup)/*-{
		this.ShowSignatureSetup( parentWindow, psigsetup);
	}-*/;

	public native final void showSigningCeremony( Object parentWindow, SignatureSetup psigsetup, SignatureInfo psiginfo)/*-{
		this.ShowSigningCeremony( parentWindow, psigsetup, psiginfo);
	}-*/;

	public native final void signXmlDsig( Object queryContinue, SignatureSetup psigsetup, SignatureInfo psiginfo,  Object xmlDsigStream)/*-{
		this.SignXmlDsig( queryContinue, psigsetup, psiginfo, xmlDsigStream);
	}-*/;

	public native final void notifySignatureAdded( Object parentWindow, SignatureSetup psigsetup, SignatureInfo psiginfo)/*-{
		this.NotifySignatureAdded( parentWindow, psigsetup, psiginfo);
	}-*/;

	public native final void verifyXmlDsig( Object queryContinue, SignatureSetup psigsetup, SignatureInfo psiginfo,  Object xmlDsigStream, int pcontverres, int pcertverres)/*-{
		this.VerifyXmlDsig( queryContinue, psigsetup, psiginfo, xmlDsigStream, pcontverres, pcertverres);
	}-*/;

	public native final void showSignatureDetails( Object parentWindow, SignatureSetup psigsetup, SignatureInfo psiginfo,  Object xmlDsigStream, int pcontverres, int pcertverres)/*-{
		this.ShowSignatureDetails( parentWindow, psigsetup, psiginfo, xmlDsigStream, pcontverres, pcertverres);
	}-*/;

	public native final JavaScriptObject getProviderDetail(int sigprovdet)/*-{
		return this.GetProviderDetail( sigprovdet);
	}-*/;

	public native final JsArray hashStream( Object queryContinue,  Object stream)/*-{
		return this.HashStream( queryContinue, stream);
	}-*/;

}
